package com.higgins.lawapp.client.settings.rpc;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.higgins.lawapp.client.settings.dataModel.DataSourceDTO;


/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface DataSourceServiceAsync {
	void retrieveDataSources(AsyncCallback<List<DataSourceDTO>> callback) throws IllegalArgumentException;
	void insertDataSource(DataSourceDTO dataSourceDTO, AsyncCallback<String> callback) throws IllegalArgumentException;
	void updateDataSource(DataSourceDTO dataSourceDTO, AsyncCallback<String> callback) throws IllegalArgumentException;
	void deleteDataSource(DataSourceDTO dataSourceDTO, AsyncCallback<String> callback) throws IllegalArgumentException;
}
